package com.dayu.recovery.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 散户验机对象 recovery_scattered
 * 
 * @author HK
 * @date 2021-04-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RecoveryScattered extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 验机编号 */
    private Long scatteredId;

    @Excel(name = "供应商")
    private String supplierName;
    @Excel(name = "手机号")
    private String mobile;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long shareGoodsId;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String specsIds;

    /** 验机报告 */
    private String testValues;

    /** 报价 */
    @Excel(name = "报价")
    private BigDecimal price;

    /** 创建人 */
    private Long createId;

    @Excel(name = "创建人")
    private String createName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd")
    private Date createTime;
    /** 是否回收 */
    @Excel(name = "是否回收", readConverterExp = "1=是,2=否")
    private Integer status;

    /** 规格内容 */
    @Excel(name = "规格内容")
    private String printing;

    @Excel(name = "商品名称")
    private String goodsName;

    @Excel(name = "串号")
    private String goodsSn;

    @Excel(name = "打款", readConverterExp = "1=已打款")
    private Integer hasPay;

    private String fineness;
}
